#!usr/bin/python
# -*- coding: UTF-8 -*-
class Parent:
    def hello(self):
        print('正在调用父类的方法...')

'''
如果
'''
class Child(Parent):
    pass #占位符，啥都不干，光继承Parent

p = Parent()
p.hello()
c = Child()
c.hello()

class Child(Parent):
    def hello(self):
        print('正在调用子类的方法...')
c = Child()
c.hello()
p.hello()


